package com.ruoyi.accountant.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class InaccountExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InaccountExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIidIsNull() {
            addCriterion("iid is null");
            return (Criteria) this;
        }

        public Criteria andIidIsNotNull() {
            addCriterion("iid is not null");
            return (Criteria) this;
        }

        public Criteria andIidEqualTo(Long value) {
            addCriterion("iid =", value, "iid");
            return (Criteria) this;
        }

        public Criteria andIidNotEqualTo(Long value) {
            addCriterion("iid <>", value, "iid");
            return (Criteria) this;
        }

        public Criteria andIidGreaterThan(Long value) {
            addCriterion("iid >", value, "iid");
            return (Criteria) this;
        }

        public Criteria andIidGreaterThanOrEqualTo(Long value) {
            addCriterion("iid >=", value, "iid");
            return (Criteria) this;
        }

        public Criteria andIidLessThan(Long value) {
            addCriterion("iid <", value, "iid");
            return (Criteria) this;
        }

        public Criteria andIidLessThanOrEqualTo(Long value) {
            addCriterion("iid <=", value, "iid");
            return (Criteria) this;
        }

        public Criteria andIidIn(List<Long> values) {
            addCriterion("iid in", values, "iid");
            return (Criteria) this;
        }

        public Criteria andIidNotIn(List<Long> values) {
            addCriterion("iid not in", values, "iid");
            return (Criteria) this;
        }

        public Criteria andIidBetween(Long value1, Long value2) {
            addCriterion("iid between", value1, value2, "iid");
            return (Criteria) this;
        }

        public Criteria andIidNotBetween(Long value1, Long value2) {
            addCriterion("iid not between", value1, value2, "iid");
            return (Criteria) this;
        }

        public Criteria andOutaccountIsNull() {
            addCriterion("outaccount is null");
            return (Criteria) this;
        }

        public Criteria andOutaccountIsNotNull() {
            addCriterion("outaccount is not null");
            return (Criteria) this;
        }

        public Criteria andOutaccountEqualTo(Long value) {
            addCriterion("outaccount =", value, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountNotEqualTo(Long value) {
            addCriterion("outaccount <>", value, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountGreaterThan(Long value) {
            addCriterion("outaccount >", value, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountGreaterThanOrEqualTo(Long value) {
            addCriterion("outaccount >=", value, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountLessThan(Long value) {
            addCriterion("outaccount <", value, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountLessThanOrEqualTo(Long value) {
            addCriterion("outaccount <=", value, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountIn(List<Long> values) {
            addCriterion("outaccount in", values, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountNotIn(List<Long> values) {
            addCriterion("outaccount not in", values, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountBetween(Long value1, Long value2) {
            addCriterion("outaccount between", value1, value2, "outaccount");
            return (Criteria) this;
        }

        public Criteria andOutaccountNotBetween(Long value1, Long value2) {
            addCriterion("outaccount not between", value1, value2, "outaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountIsNull() {
            addCriterion("inaccount is null");
            return (Criteria) this;
        }

        public Criteria andInaccountIsNotNull() {
            addCriterion("inaccount is not null");
            return (Criteria) this;
        }

        public Criteria andInaccountEqualTo(Long value) {
            addCriterion("inaccount =", value, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountNotEqualTo(Long value) {
            addCriterion("inaccount <>", value, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountGreaterThan(Long value) {
            addCriterion("inaccount >", value, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountGreaterThanOrEqualTo(Long value) {
            addCriterion("inaccount >=", value, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountLessThan(Long value) {
            addCriterion("inaccount <", value, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountLessThanOrEqualTo(Long value) {
            addCriterion("inaccount <=", value, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountIn(List<Long> values) {
            addCriterion("inaccount in", values, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountNotIn(List<Long> values) {
            addCriterion("inaccount not in", values, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountBetween(Long value1, Long value2) {
            addCriterion("inaccount between", value1, value2, "inaccount");
            return (Criteria) this;
        }

        public Criteria andInaccountNotBetween(Long value1, Long value2) {
            addCriterion("inaccount not between", value1, value2, "inaccount");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endtime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endtime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterionForJDBCDate("endtime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("endtime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterionForJDBCDate("endtime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("endtime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterionForJDBCDate("endtime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("endtime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterionForJDBCDate("endtime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("endtime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("endtime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("endtime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andFinishedIsNull() {
            addCriterion("finished is null");
            return (Criteria) this;
        }

        public Criteria andFinishedIsNotNull() {
            addCriterion("finished is not null");
            return (Criteria) this;
        }

        public Criteria andFinishedEqualTo(Integer value) {
            addCriterion("finished =", value, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedNotEqualTo(Integer value) {
            addCriterion("finished <>", value, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedGreaterThan(Integer value) {
            addCriterion("finished >", value, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedGreaterThanOrEqualTo(Integer value) {
            addCriterion("finished >=", value, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedLessThan(Integer value) {
            addCriterion("finished <", value, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedLessThanOrEqualTo(Integer value) {
            addCriterion("finished <=", value, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedIn(List<Integer> values) {
            addCriterion("finished in", values, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedNotIn(List<Integer> values) {
            addCriterion("finished not in", values, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedBetween(Integer value1, Integer value2) {
            addCriterion("finished between", value1, value2, "finished");
            return (Criteria) this;
        }

        public Criteria andFinishedNotBetween(Integer value1, Integer value2) {
            addCriterion("finished not between", value1, value2, "finished");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyIsNull() {
            addCriterion("outaccount_currency is null");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyIsNotNull() {
            addCriterion("outaccount_currency is not null");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyEqualTo(Integer value) {
            addCriterion("outaccount_currency =", value, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyNotEqualTo(Integer value) {
            addCriterion("outaccount_currency <>", value, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyGreaterThan(Integer value) {
            addCriterion("outaccount_currency >", value, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyGreaterThanOrEqualTo(Integer value) {
            addCriterion("outaccount_currency >=", value, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyLessThan(Integer value) {
            addCriterion("outaccount_currency <", value, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyLessThanOrEqualTo(Integer value) {
            addCriterion("outaccount_currency <=", value, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyIn(List<Integer> values) {
            addCriterion("outaccount_currency in", values, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyNotIn(List<Integer> values) {
            addCriterion("outaccount_currency not in", values, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyBetween(Integer value1, Integer value2) {
            addCriterion("outaccount_currency between", value1, value2, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountCurrencyNotBetween(Integer value1, Integer value2) {
            addCriterion("outaccount_currency not between", value1, value2, "outaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyIsNull() {
            addCriterion("inaccount_currency is null");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyIsNotNull() {
            addCriterion("inaccount_currency is not null");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyEqualTo(Integer value) {
            addCriterion("inaccount_currency =", value, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyNotEqualTo(Integer value) {
            addCriterion("inaccount_currency <>", value, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyGreaterThan(Integer value) {
            addCriterion("inaccount_currency >", value, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyGreaterThanOrEqualTo(Integer value) {
            addCriterion("inaccount_currency >=", value, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyLessThan(Integer value) {
            addCriterion("inaccount_currency <", value, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyLessThanOrEqualTo(Integer value) {
            addCriterion("inaccount_currency <=", value, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyIn(List<Integer> values) {
            addCriterion("inaccount_currency in", values, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyNotIn(List<Integer> values) {
            addCriterion("inaccount_currency not in", values, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyBetween(Integer value1, Integer value2) {
            addCriterion("inaccount_currency between", value1, value2, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andInaccountCurrencyNotBetween(Integer value1, Integer value2) {
            addCriterion("inaccount_currency not between", value1, value2, "inaccountCurrency");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyIsNull() {
            addCriterion("outaccount_money is null");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyIsNotNull() {
            addCriterion("outaccount_money is not null");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyEqualTo(BigDecimal value) {
            addCriterion("outaccount_money =", value, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyNotEqualTo(BigDecimal value) {
            addCriterion("outaccount_money <>", value, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyGreaterThan(BigDecimal value) {
            addCriterion("outaccount_money >", value, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("outaccount_money >=", value, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyLessThan(BigDecimal value) {
            addCriterion("outaccount_money <", value, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("outaccount_money <=", value, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyIn(List<BigDecimal> values) {
            addCriterion("outaccount_money in", values, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyNotIn(List<BigDecimal> values) {
            addCriterion("outaccount_money not in", values, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("outaccount_money between", value1, value2, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andOutaccountMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("outaccount_money not between", value1, value2, "outaccountMoney");
            return (Criteria) this;
        }

        public Criteria andDtypeIsNull() {
            addCriterion("dtype is null");
            return (Criteria) this;
        }

        public Criteria andDtypeIsNotNull() {
            addCriterion("dtype is not null");
            return (Criteria) this;
        }

        public Criteria andDtypeEqualTo(String value) {
            addCriterion("dtype =", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeNotEqualTo(String value) {
            addCriterion("dtype <>", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeGreaterThan(String value) {
            addCriterion("dtype >", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeGreaterThanOrEqualTo(String value) {
            addCriterion("dtype >=", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeLessThan(String value) {
            addCriterion("dtype <", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeLessThanOrEqualTo(String value) {
            addCriterion("dtype <=", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeLike(String value) {
            addCriterion("dtype like", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeNotLike(String value) {
            addCriterion("dtype not like", value, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeIn(List<String> values) {
            addCriterion("dtype in", values, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeNotIn(List<String> values) {
            addCriterion("dtype not in", values, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeBetween(String value1, String value2) {
            addCriterion("dtype between", value1, value2, "dtype");
            return (Criteria) this;
        }

        public Criteria andDtypeNotBetween(String value1, String value2) {
            addCriterion("dtype not between", value1, value2, "dtype");
            return (Criteria) this;
        }

        public Criteria andOfReasonIsNull() {
            addCriterion("of_reason is null");
            return (Criteria) this;
        }

        public Criteria andOfReasonIsNotNull() {
            addCriterion("of_reason is not null");
            return (Criteria) this;
        }

        public Criteria andOfReasonEqualTo(Long value) {
            addCriterion("of_reason =", value, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonNotEqualTo(Long value) {
            addCriterion("of_reason <>", value, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonGreaterThan(Long value) {
            addCriterion("of_reason >", value, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonGreaterThanOrEqualTo(Long value) {
            addCriterion("of_reason >=", value, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonLessThan(Long value) {
            addCriterion("of_reason <", value, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonLessThanOrEqualTo(Long value) {
            addCriterion("of_reason <=", value, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonIn(List<Long> values) {
            addCriterion("of_reason in", values, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonNotIn(List<Long> values) {
            addCriterion("of_reason not in", values, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonBetween(Long value1, Long value2) {
            addCriterion("of_reason between", value1, value2, "ofReason");
            return (Criteria) this;
        }

        public Criteria andOfReasonNotBetween(Long value1, Long value2) {
            addCriterion("of_reason not between", value1, value2, "ofReason");
            return (Criteria) this;
        }

        public Criteria andObjectIsNull() {
            addCriterion("object is null");
            return (Criteria) this;
        }

        public Criteria andObjectIsNotNull() {
            addCriterion("object is not null");
            return (Criteria) this;
        }

        public Criteria andObjectEqualTo(String value) {
            addCriterion("object =", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectNotEqualTo(String value) {
            addCriterion("object <>", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectGreaterThan(String value) {
            addCriterion("object >", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectGreaterThanOrEqualTo(String value) {
            addCriterion("object >=", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectLessThan(String value) {
            addCriterion("object <", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectLessThanOrEqualTo(String value) {
            addCriterion("object <=", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectLike(String value) {
            addCriterion("object like", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectNotLike(String value) {
            addCriterion("object not like", value, "object");
            return (Criteria) this;
        }

        public Criteria andObjectIn(List<String> values) {
            addCriterion("object in", values, "object");
            return (Criteria) this;
        }

        public Criteria andObjectNotIn(List<String> values) {
            addCriterion("object not in", values, "object");
            return (Criteria) this;
        }

        public Criteria andObjectBetween(String value1, String value2) {
            addCriterion("object between", value1, value2, "object");
            return (Criteria) this;
        }

        public Criteria andObjectNotBetween(String value1, String value2) {
            addCriterion("object not between", value1, value2, "object");
            return (Criteria) this;
        }

        public Criteria andTagIsNull() {
            addCriterion("tag is null");
            return (Criteria) this;
        }

        public Criteria andTagIsNotNull() {
            addCriterion("tag is not null");
            return (Criteria) this;
        }

        public Criteria andTagEqualTo(String value) {
            addCriterion("tag =", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagNotEqualTo(String value) {
            addCriterion("tag <>", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagGreaterThan(String value) {
            addCriterion("tag >", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagGreaterThanOrEqualTo(String value) {
            addCriterion("tag >=", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagLessThan(String value) {
            addCriterion("tag <", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagLessThanOrEqualTo(String value) {
            addCriterion("tag <=", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagLike(String value) {
            addCriterion("tag like", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagNotLike(String value) {
            addCriterion("tag not like", value, "tag");
            return (Criteria) this;
        }

        public Criteria andTagIn(List<String> values) {
            addCriterion("tag in", values, "tag");
            return (Criteria) this;
        }

        public Criteria andTagNotIn(List<String> values) {
            addCriterion("tag not in", values, "tag");
            return (Criteria) this;
        }

        public Criteria andTagBetween(String value1, String value2) {
            addCriterion("tag between", value1, value2, "tag");
            return (Criteria) this;
        }

        public Criteria andTagNotBetween(String value1, String value2) {
            addCriterion("tag not between", value1, value2, "tag");
            return (Criteria) this;
        }

        public Criteria andTaxIsNull() {
            addCriterion("tax is null");
            return (Criteria) this;
        }

        public Criteria andTaxIsNotNull() {
            addCriterion("tax is not null");
            return (Criteria) this;
        }

        public Criteria andTaxEqualTo(BigDecimal value) {
            addCriterion("tax =", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotEqualTo(BigDecimal value) {
            addCriterion("tax <>", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThan(BigDecimal value) {
            addCriterion("tax >", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("tax >=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThan(BigDecimal value) {
            addCriterion("tax <", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("tax <=", value, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxIn(List<BigDecimal> values) {
            addCriterion("tax in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotIn(List<BigDecimal> values) {
            addCriterion("tax not in", values, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andTaxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax not between", value1, value2, "tax");
            return (Criteria) this;
        }

        public Criteria andInvoiceIsNull() {
            addCriterion("invoice is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceIsNotNull() {
            addCriterion("invoice is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceEqualTo(String value) {
            addCriterion("invoice =", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceNotEqualTo(String value) {
            addCriterion("invoice <>", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceGreaterThan(String value) {
            addCriterion("invoice >", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceGreaterThanOrEqualTo(String value) {
            addCriterion("invoice >=", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceLessThan(String value) {
            addCriterion("invoice <", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceLessThanOrEqualTo(String value) {
            addCriterion("invoice <=", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceLike(String value) {
            addCriterion("invoice like", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceNotLike(String value) {
            addCriterion("invoice not like", value, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceIn(List<String> values) {
            addCriterion("invoice in", values, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceNotIn(List<String> values) {
            addCriterion("invoice not in", values, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceBetween(String value1, String value2) {
            addCriterion("invoice between", value1, value2, "invoice");
            return (Criteria) this;
        }

        public Criteria andInvoiceNotBetween(String value1, String value2) {
            addCriterion("invoice not between", value1, value2, "invoice");
            return (Criteria) this;
        }

        public Criteria andAttachmentIsNull() {
            addCriterion("attachment is null");
            return (Criteria) this;
        }

        public Criteria andAttachmentIsNotNull() {
            addCriterion("attachment is not null");
            return (Criteria) this;
        }

        public Criteria andAttachmentEqualTo(String value) {
            addCriterion("attachment =", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentNotEqualTo(String value) {
            addCriterion("attachment <>", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentGreaterThan(String value) {
            addCriterion("attachment >", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentGreaterThanOrEqualTo(String value) {
            addCriterion("attachment >=", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentLessThan(String value) {
            addCriterion("attachment <", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentLessThanOrEqualTo(String value) {
            addCriterion("attachment <=", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentLike(String value) {
            addCriterion("attachment like", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentNotLike(String value) {
            addCriterion("attachment not like", value, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentIn(List<String> values) {
            addCriterion("attachment in", values, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentNotIn(List<String> values) {
            addCriterion("attachment not in", values, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentBetween(String value1, String value2) {
            addCriterion("attachment between", value1, value2, "attachment");
            return (Criteria) this;
        }

        public Criteria andAttachmentNotBetween(String value1, String value2) {
            addCriterion("attachment not between", value1, value2, "attachment");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andIncomeDateIsNull() {
            addCriterion("income_date is null");
            return (Criteria) this;
        }

        public Criteria andIncomeDateIsNotNull() {
            addCriterion("income_date is not null");
            return (Criteria) this;
        }

        public Criteria andIncomeDateEqualTo(Date value) {
            addCriterionForJDBCDate("income_date =", value, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("income_date <>", value, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateGreaterThan(Date value) {
            addCriterionForJDBCDate("income_date >", value, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("income_date >=", value, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateLessThan(Date value) {
            addCriterionForJDBCDate("income_date <", value, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("income_date <=", value, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateIn(List<Date> values) {
            addCriterionForJDBCDate("income_date in", values, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("income_date not in", values, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("income_date between", value1, value2, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andIncomeDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("income_date not between", value1, value2, "incomeDate");
            return (Criteria) this;
        }

        public Criteria andProofDateIsNull() {
            addCriterion("proof_date is null");
            return (Criteria) this;
        }

        public Criteria andProofDateIsNotNull() {
            addCriterion("proof_date is not null");
            return (Criteria) this;
        }

        public Criteria andProofDateEqualTo(Date value) {
            addCriterionForJDBCDate("proof_date =", value, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("proof_date <>", value, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateGreaterThan(Date value) {
            addCriterionForJDBCDate("proof_date >", value, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("proof_date >=", value, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateLessThan(Date value) {
            addCriterionForJDBCDate("proof_date <", value, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("proof_date <=", value, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateIn(List<Date> values) {
            addCriterionForJDBCDate("proof_date in", values, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("proof_date not in", values, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("proof_date between", value1, value2, "proofDate");
            return (Criteria) this;
        }

        public Criteria andProofDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("proof_date not between", value1, value2, "proofDate");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIsNull() {
            addCriterion("service_charge is null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIsNotNull() {
            addCriterion("service_charge is not null");
            return (Criteria) this;
        }

        public Criteria andServiceChargeEqualTo(Double value) {
            addCriterion("service_charge =", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotEqualTo(Double value) {
            addCriterion("service_charge <>", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeGreaterThan(Double value) {
            addCriterion("service_charge >", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeGreaterThanOrEqualTo(Double value) {
            addCriterion("service_charge >=", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeLessThan(Double value) {
            addCriterion("service_charge <", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeLessThanOrEqualTo(Double value) {
            addCriterion("service_charge <=", value, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeIn(List<Double> values) {
            addCriterion("service_charge in", values, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotIn(List<Double> values) {
            addCriterion("service_charge not in", values, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeBetween(Double value1, Double value2) {
            addCriterion("service_charge between", value1, value2, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andServiceChargeNotBetween(Double value1, Double value2) {
            addCriterion("service_charge not between", value1, value2, "serviceCharge");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeIsNull() {
            addCriterion("tax_rate_type is null");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeIsNotNull() {
            addCriterion("tax_rate_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeEqualTo(String value) {
            addCriterion("tax_rate_type =", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeNotEqualTo(String value) {
            addCriterion("tax_rate_type <>", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeGreaterThan(String value) {
            addCriterion("tax_rate_type >", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeGreaterThanOrEqualTo(String value) {
            addCriterion("tax_rate_type >=", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeLessThan(String value) {
            addCriterion("tax_rate_type <", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeLessThanOrEqualTo(String value) {
            addCriterion("tax_rate_type <=", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeLike(String value) {
            addCriterion("tax_rate_type like", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeNotLike(String value) {
            addCriterion("tax_rate_type not like", value, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeIn(List<String> values) {
            addCriterion("tax_rate_type in", values, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeNotIn(List<String> values) {
            addCriterion("tax_rate_type not in", values, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeBetween(String value1, String value2) {
            addCriterion("tax_rate_type between", value1, value2, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateTypeNotBetween(String value1, String value2) {
            addCriterion("tax_rate_type not between", value1, value2, "taxRateType");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNull() {
            addCriterion("tax_rate is null");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNotNull() {
            addCriterion("tax_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTaxRateEqualTo(Double value) {
            addCriterion("tax_rate =", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotEqualTo(Double value) {
            addCriterion("tax_rate <>", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThan(Double value) {
            addCriterion("tax_rate >", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThanOrEqualTo(Double value) {
            addCriterion("tax_rate >=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThan(Double value) {
            addCriterion("tax_rate <", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThanOrEqualTo(Double value) {
            addCriterion("tax_rate <=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateIn(List<Double> values) {
            addCriterion("tax_rate in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotIn(List<Double> values) {
            addCriterion("tax_rate not in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateBetween(Double value1, Double value2) {
            addCriterion("tax_rate between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotBetween(Double value1, Double value2) {
            addCriterion("tax_rate not between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andPayDateIsNull() {
            addCriterion("pay_date is null");
            return (Criteria) this;
        }

        public Criteria andPayDateIsNotNull() {
            addCriterion("pay_date is not null");
            return (Criteria) this;
        }

        public Criteria andPayDateEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date =", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date <>", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateGreaterThan(Date value) {
            addCriterionForJDBCDate("pay_date >", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date >=", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateLessThan(Date value) {
            addCriterionForJDBCDate("pay_date <", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("pay_date <=", value, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateIn(List<Date> values) {
            addCriterionForJDBCDate("pay_date in", values, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("pay_date not in", values, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("pay_date between", value1, value2, "payDate");
            return (Criteria) this;
        }

        public Criteria andPayDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("pay_date not between", value1, value2, "payDate");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyIsNull() {
            addCriterion("inaccount_money is null");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyIsNotNull() {
            addCriterion("inaccount_money is not null");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyEqualTo(BigDecimal value) {
            addCriterion("inaccount_money =", value, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyNotEqualTo(BigDecimal value) {
            addCriterion("inaccount_money <>", value, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyGreaterThan(BigDecimal value) {
            addCriterion("inaccount_money >", value, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("inaccount_money >=", value, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyLessThan(BigDecimal value) {
            addCriterion("inaccount_money <", value, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("inaccount_money <=", value, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyIn(List<BigDecimal> values) {
            addCriterion("inaccount_money in", values, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyNotIn(List<BigDecimal> values) {
            addCriterion("inaccount_money not in", values, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("inaccount_money between", value1, value2, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("inaccount_money not between", value1, value2, "inaccountMoney");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeIsNull() {
            addCriterion("inaccount_service_charge is null");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeIsNotNull() {
            addCriterion("inaccount_service_charge is not null");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeEqualTo(Double value) {
            addCriterion("inaccount_service_charge =", value, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeNotEqualTo(Double value) {
            addCriterion("inaccount_service_charge <>", value, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeGreaterThan(Double value) {
            addCriterion("inaccount_service_charge >", value, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeGreaterThanOrEqualTo(Double value) {
            addCriterion("inaccount_service_charge >=", value, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeLessThan(Double value) {
            addCriterion("inaccount_service_charge <", value, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeLessThanOrEqualTo(Double value) {
            addCriterion("inaccount_service_charge <=", value, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeIn(List<Double> values) {
            addCriterion("inaccount_service_charge in", values, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeNotIn(List<Double> values) {
            addCriterion("inaccount_service_charge not in", values, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeBetween(Double value1, Double value2) {
            addCriterion("inaccount_service_charge between", value1, value2, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andInaccountServiceChargeNotBetween(Double value1, Double value2) {
            addCriterion("inaccount_service_charge not between", value1, value2, "inaccountServiceCharge");
            return (Criteria) this;
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}